package cn.tedu.bece.admin.system.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Data
public class SysDictOptionAddParam {

    @NotNull(message = "字典id不能为空")
    @ApiModelProperty(value = "字典id", required = true)
    private Long dictId;

    @NotEmpty(message = "字典项名不能为空")
    @ApiModelProperty(value = "字典项名", required = true)
    private String label;

    @NotEmpty(message = "字典项值不能为空")
    @ApiModelProperty(value = "字典项值", required = true)
    private String value;

    @ApiModelProperty("排序序号")
    private Integer sort;

    @ApiModelProperty("备注信息")
    private String remark;

}
